<\%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="am-u-sm-9">
<ol class="am-breadcrumb">
  <li><a href="#">xxx导航</a></li>
  <li class="am-active">编辑</li>
</ol>
<form class="am-form am-form-horizontal" action="${ctx}/admin/<%=beanInfo.alias%>/update.do" method="post">
  <input type="hidden" name="id" value="${<%=beanInfo.alias%>.id}"/>
  <input type="hidden" name="pageNo" value="${param.pageNo}"/>
  <div class="am-form-group">
    <label  class="am-u-sm-2 am-form-label">xxx</label>
    <div class="am-u-sm-6 am-fl-im">
      <input type="text" name="name" class="am-form-field am-input-sm"  value="">
    </div>
  </div>

  <div class="am-form-group">
    <div class="am-u-sm-10 am-u-sm-offset-2">
      <button type="submit" class="am-btn am-btn-success">提交</button>
      <button type="button" class="am-btn am-btn-default" onclick="goback()">返回</button>
    </div>
  </div>
</form>
</div>
<script>
   $(function(){
      <!--select fill value-->


   });

  function goback(){
    var pageNo = '${param.pageNo}';
    pageNo = (pageNo==null || pageNo==''||pageNo<1)?1:pageNo;
    location.href="${ctx}/admin/<%=beanInfo.alias%>/index.do?pageNo="+pageNo;
  }


</script>